<template>
  <div>
      <Map />
  </div>
</template>

<script setup>
import { ref, toRefs, toRef, reactive, computed, defineProps } from 'vue'
import Map from "./components/map/index.vue";
import mittBus from "@/utils/mittBus"; // mitt

const props = defineProps({
  /* message: {
    type: String,
    default: '',
    required: true
  } */
})

mittBus.on("mitttest", () => {
  console.log("取消测距111");

});

const test = ()=> {
  mittBus.emit("mitttest")
}
test()

</script>

<style lang="scss" scoped>
</style>